
/**loading状态 */
const loadingStatus = {
  state: {
    isLoading: false
  },
  mutations: {
    UPDATE_LOADING_STATUS (state, value) {
      state.isLoading = value.isLoading
    }
  },
  actions: {
    updateLoadingStatus({commit}, value) {
      commit('UPDATE_LOADING_STATUS', value)
    }
  }
}

export default loadingStatus
